package net.huashitong.ssydt.user.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.08.08
 */
@ApiModel(description = "验证码")
public class SmsVo implements Serializable {

    private static final long serialVersionUID = 4461223592597745698L;
    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "手机号码不能为空")
    private String mobile;
    @ApiModelProperty("token")
    private String token;
    @ApiModelProperty("随机字符串")
    private String randomStr;
    @ApiModelProperty("签名")
    private String sign;//签名
    @ApiModelProperty("时间戳")
    private String timestamp;//时间戳

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getRandomStr() {
        return randomStr;
    }

    public void setRandomStr(String randomStr) {
        this.randomStr = randomStr;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }
}
